package com.trkj.vo;

public class Result_AddRule_Result {
	private boolean success;
	private String message;
	
	public static final Result_AddRule_Result SUCCESS = new Result_AddRule_Result(true, null);//成功
	
	/**
	 * 失败
	 * @param message
	 */
	public static Result_AddRule_Result failure(String message){
		return new Result_AddRule_Result(false, message);
	}
	
	public Result_AddRule_Result(boolean success, String message) {
		super();
		this.success = success;
		this.message = message;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}


	
	
	
}
